package cj.web.sc.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

import cj.web.admin.domain.DataTablePage;

/**
 * 商城轮播图
 */
public class SCGoodsBanner extends DataTablePage implements Serializable {

    protected Integer id;
	protected Integer goodsId;
	protected String path;


	/**
	 * Default Empty Constructor for class SCGoodsBanner
	 */
	public SCGoodsBanner () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class SCGoodsBanner
	 */
	public SCGoodsBanner (
		 Integer in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Integer
     * 
	 */
	public Integer getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Integer aValue) {
		this.id = aValue;
	}	

	/**
	 * 商品基本信息id	 * @return Integer
	 * 
	 */
	public Integer getGoodsId() {
		return this.goodsId;
	}
	
	/**
	 * Set the goodsId
	 */	
	public void setGoodsId(Integer aValue) {
		this.goodsId = aValue;
	}	

	/**
	 * 	 * @return String
	 * 
	 */
	public String getPath() {
		return this.path;
	}
	
	/**
	 * Set the path
	 */	
	public void setPath(String aValue) {
		this.path = aValue;
	}	

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		if (!(object instanceof SCGoodsBanner)) {
			return false;
		}
		SCGoodsBanner rhs = (SCGoodsBanner) object;
		return new EqualsBuilder()
				.append(this.id, rhs.id)
				.append(this.goodsId, rhs.goodsId)
				.append(this.path, rhs.path)
				.isEquals();
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return new HashCodeBuilder(-82280557, -700257973)
				.append(this.id) 
				.append(this.goodsId) 
				.append(this.path) 
				.toHashCode();
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return new ToStringBuilder(this)
				.append("id", this.id) 
				.append("goodsId", this.goodsId) 
				.append("path", this.path) 
				.toString();
	}



}
